package cn.jf.modules.system.mapper;

import cn.jf.modules.system.entity.SysUserDepart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserDepartMapper extends BaseMapper<SysUserDepart>{
	
	List<SysUserDepart> getUserDepartByUid(@Param("userId") String userId);
	void delByUserId(String userId);
	SysUserDepart getOneSysUserDepartByPar(@Param("sysUserDepart") SysUserDepart sysUserDepart);
	void delByUserIdDeptId(@Param("sysUserDepart") SysUserDepart sysUserDepart);
}
